package com.example.springbootmyelasticjob.config.model;

import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.apache.ibatis.type.Alias;

import java.io.Serializable;

@Slf4j
@Data
@Alias("jobList")
public class JobList implements Serializable {
    private static final long serialVersionUID = -2881858628608190915L;

    private long id;
    private String jobName; //对于一个job唯一定义
    private String cron;
    private String shardingTotalCount;
    private String shardingItemParameters;
    private String jobClass; //job类的全路径
    private String streamingProcess;  //0为true; 1为false
    private long overwrite;  //0为true; 1为false
    private String jobType; //SIMPLE, DATAFLOW
}
